package com.ice.dockerredis.juc;

import org.openjdk.jol.info.ClassLayout;

/**
 * @author : Ice-winters
 * @since : 2021-12-11 16:45
 */
public class ObjTest {


    public static void main(String[] args) {

        Object o  = new Object();

        System.out.println(ClassLayout.parseInstance(o).toPrintable());

        synchronized (o) {
            System.out.println(ClassLayout.parseInstance(o).toPrintable());


        }

//        System.out.println(ClassLayout.parseInstance(o).toPrintable());
    }

}
